Programming by Contract in a Distributed Object Environment
نویسندگان
چکیده
Although the representation of preconditions and postconditions in a non-distributed environment is clear and relatively well established, the pragmatic requirements of a distributed environment introduce some complication to the traditional implementation of programming by contract (PBC))10]. In this paper we discuss and review the common deenition of an object interface in relation to distributed environment and encapsulation. We go on to describe an implementation approach of PBC for a distributed environment which is more eeective in checking the interface constraints occurring in a distributed setting whilst limiting the publicly available methods to only those required.
منابع مشابه
A Game-Theoretic Model for Distributed Programming by Contract
We present an extension of the programming-by-contract (PBC) paradigm to a concurrent and distributed environment. Classical PBC is characterized by absolute conformance of code to its specification, assigning blame in case of failures, and a hierarchical, cooperative decomposition model – none of which extend naturally to a distributed environment with multiple administrative peers. We therefo...
متن کاملHigher-order Behavioral Contracts for Distributed Components
Inspired by the Design by Contract paradigm, we intro-duce CONSUL, a contract system for distributed compo-nents. CONSUL monitors distributed components at run timewith higher-order behavioral contracts. Contract monitoringis local to a component, and the component is treated asa black box. Thus it does not disturb the highly decouplednature of distributed components and...
متن کاملModelsaz: An Object-Oriented Computer-Aided Modeling Environment
Modeling and simulation of processing plants are widely used in industry. Construction of a mathematical model for a plant is a time-consuming and error-prone task. In light of extensive advancements in computer science (both hardware and software), computers are becoming a necessary instrument in industrial activities. Many software tools for modeling, simulation and optimization of proces...
متن کاملIntroducing Contracting in Distributed Transactional Workflows
In this paper we describe a flexible transactional workflow environment based on an extensible object-oriented framework built around class libraries, application programming interfaces, and shared services. To enforce coordination in workflow communications and model real-life business applications, the concepts of 'obligation' and 'contract' are introduced. A contract is a semantic agreement ...
متن کاملPerformance Evaluation of Communication Software Systems for Distributed Computing
In recent years there has been an increasing interest in object-oriented distributed computing since it is better quipped to deal with complex systems while providing extensibility, maintainability, and reusability. At the same time, several new high-speed network technologies have emerged for local and wide area networks. However, the performance of networking software is not improving as fast...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1996